//
//  Activity.m
//  豆瓣
//
//  Created by dllo on 15/10/28.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "Activity.h"

@implementation Activity

- (void)dealloc
{
    [_title release];
    [_begin_time release];
    [_address release];
    [_category_name release];
    [_image release];
    [_participant_count release];
    [_wisher_count release];
    [_content release];
    [_name release];
    [super dealloc];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"owner"]) {
        self.name = [value objectForKey:@"name"];
    }
}

@end
